function post(form) {
    var subject = form.subject.value;
    var content = form.content.value;
    var str = "subject="+subject+"&content="+content;
    postRequest("api/post/create.php",str);
}